package org.jeecg.modules.business.jygl.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.business.jygl.entity.BuGsfwptJygl;
import org.jeecg.modules.business.jygl.mapper.BuGsfwptJyglMapper;
import org.jeecg.modules.business.jygl.service.IBuGsfwptJyglService;
import org.jeecg.modules.business.jygl.vo.BuGsfwptJyglDto;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 交易管理
 * @Author: jeecg-boot
 * @Date:   2023-04-02
 * @Version: V1.0
 */
@Service
public class BuGsfwptJyglServiceImpl extends ServiceImpl<BuGsfwptJyglMapper, BuGsfwptJygl> implements IBuGsfwptJyglService {
    /**
     * 自定义分页查询交易列表
     * @param page
     * @param buGsfwptJygl
     * @return
     */
    @Override
    public IPage<BuGsfwptJygl> queryPageListByCustom(Page<BuGsfwptJygl> page, BuGsfwptJygl buGsfwptJygl) {
        return page.setRecords(this.baseMapper.queryPageListByCustom(page , buGsfwptJygl));
    }

    @Override
    public List<BuGsfwptJygl> queryPageListByCustomNoPage(BuGsfwptJygl buGsfwptJygl) {

        return this.baseMapper.queryPageListByCustomNoPage( buGsfwptJygl);
    }
}
